package com.lanxiao.cloud.common.core.enums;

/**
 * @author ：qiaoliang
 * @date ：2021-09-15
 */
public enum OperationType implements BaseEnum<OperationType, Integer> {
  CREATE(0, "新增"),
  UPDATE(1, "修改"),
  DELETE(2, "删除"),
  REGISTER(3, "注册"),
  LOGIN(4, "登录");

  private Integer value;
  private String desc;

  OperationType(Integer value, String desc) {
    this.value = value;
    this.desc = desc;
  }

  @Override
  public Integer getValue() {
    return value;
  }

  @Override
  public String getDesc() {
    return desc;
  }

}
